package com.wbxqy.car_management_system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 车辆表
 * </p>
 *
 * @author wbxqy
 * @since 2024-07-04
 */
@Getter
@Setter
@TableName("t_car_wbxqy")
@ApiModel(value = "Car对象", description = "车辆表")
public class Car implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("车辆ID，主键")
    @TableId(value = "car_id_wbxqy", type = IdType.AUTO)
    private Integer carIdWbxqy;

    @ApiModelProperty("车牌号")
    private String licensePlateWbxqy;

    @ApiModelProperty("品牌")
    private String brandWbxqy;

    @ApiModelProperty("型号")
    private String modelWbxqy;

    @ApiModelProperty("状态（空闲、使用中、维修中）")
    private String statusWbxqy;

    @ApiModelProperty("购买日期")
    private LocalDate purchaseDateWbxqy;

    @ApiModelProperty("车辆照片的URL")
    private String imageUrlWbxqy;

    @ApiModelProperty("记录创建时间")
    private LocalDateTime createTimeWbxqy;

    @ApiModelProperty("记录更新时间")
    private LocalDateTime updateTimeWbxqy;

    @ApiModelProperty("是否删除标记，逻辑删除")
    private Boolean isDeletedWbxqy;


}
